Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Re: XPages: Client Javascript - getting accces to behind xpage opener

Hi Diego,

I think the function that you are looking for is window.opener.document.getElementById(). This will find an element in the DOM of the browser window that opened the popup window or tab that you are on (assuming it's still open of course).

You can also access DOM elements using dojo.query() which provides a convenient way of selecting one or more elements using a CSS style query syntax. For example you could select all the links with a class of 'external' inside a particular panel using one single query like so:
dojo.query('#view\:id1\:container a.external');

If you're trying to get access to data from a Notes Document you'll have to load that information from the Domino server somehow, either by using a raw XMLHttpRequest, or one of the built in XPages controls.

Hope that answers your question, if not could you maybe include a little more information on your use case?


Feedback response number LMDD7PSF9X created by ~Hank Bubresagenettu on 03/03/2009

XPages: Client Javascript - getting... (~Pippy Elavitch... 2.Mar.09)
. . Re: XPages: Client Javascript - ge... (~Manny Lopponel... 3.Mar.09)
. . . . resolved (~Pippy Elavitch... 5.Mar.09)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS